import zipfile
z=zipfile.ZipFile(input('输入压缩文件目录：'))
ziplist=z.namelist()
# z.extractall()
for f in ziplist:
    z.extract(f)
z.close()
